const validatorMessage: Record<string, string> = {
	notNull: '{0} cannot be empty',
	email: '{0}格式有误',
	userName: '{0} value is incorrect',
	password: '{0} value is incorrect',
	tel: '{0} value is incorrect',
	phone: '{0} value is incorrect',
	cnName: '{0} value is incorrect',
	minLength: '{0} length cannot be greater than {1}',
	maxLength: '{0} length cannot be less than {1}',
	rangeLength: '{0} length should be {1}-{2} characters',
	min: '{0} cannot be less than {1}',
	max: '{0} cannot be greater than {1}',
	boolean: '{0} should be formatted as a Boolean',
	include: '{0} is only allowed to include: {1}',
	intNumber: '{0} should be an integer',
	floatNumber: '{0} should be a decimal',
	minusNumber: '{0} should be negative',
	rangeNumber: '{0} should be a number between {1} and {2}',
};

export default validatorMessage;
